{layout name="layout" /}
<div class="tipbox">
    1、帐号余额是已减去申请的数量。<br />
    2、未通过的申请将会把申请数量自动返回到账户余额。<br /> 
    3、通过申请,请先确认已执行相关转账流程。
</div>
<form id="form" action="{:url('fastshop/bank/cashpass',['id' => $cash.id])}">
<input type="hidden" name="id" value="{$cash.id}" />
<input type="hidden" name="realmoney" value="{$yescash}" />
<table class="pure-table"> 
    <tr><td class="w100">帐号余额:</td><td class="red"><i class="iconfont icon-renminbi1688"></i>{$bank.money/100|money}</td></tr>
    <tr><td>累计收益:</td><td class="red"><i class="iconfont icon-renminbi1688"></i>{$bank.income_monney/100|money}</td></tr>
    <tr><td>应付积分:</td><td class="red"><i class="iconfont icon-renminbi1688"></i>{$bank.due_money/100|money}</td></tr>
    <tr><td>锁定积分:</td><td class="red"><i class="iconfont icon-renminbi1688"></i>{$bank.lack_money/100|money}</td></tr>
    <tr><td>开户行:</td><td>{$bankinfo.bankname}</td></tr>
    <tr><td>银行卡号:</td><td>{$bankinfo.bankid}</td></tr>
    <tr><td>姓名:</td><td>{$bankinfo.name}</td></tr>
    <tr><td>身份证号:</td><td>{$bankinfo.idcard}</td></tr>
    <tr><td>绑定手机:</td><td>{$bankinfo.phone_uid}</td></tr>
    <tr><td>申请提现:</td><td class="green"><i class="iconfont icon-renminbi1688"></i>{$cash.money/100|money}</td></tr>
    <tr><td>应到帐户:</td><td class="blue"><i class="iconfont icon-renminbi1688"></i>{$yescash|money}</td></tr>
    <tr>
        <td class="w100">申请日期:</td>
        <td>{$bank->update_time|date='Y-m-d H:i'}
        </td>
    </tr>
    {if $cash.state == 0}
    <tr>
        <td class="w100">是否通过:</td>
        <td>
            {if $bank.lack_money >= $cash.money}
            <span class="badge bg-green"><input type="radio" name="ispass" value="1" checked> 通过</span>
            {/if}
            <span class="badge bg-red"><input type="radio" name="ispass" value="0" > 不通过</span> 
        </td>
    </tr>
    <tr><td></td><td>
        <input type="submit" value="确定" class="button button-blue submit" />
        <input type="reset" value="重置" class="button" />
    </td></tr>
    {else}
    <tr>
        <td class="w100">是否通过:</td>
        <td>
            {if $cash.state == 1}<span class="badge bg-green">提现通过</span>{else}<span class="badge bg-red">不通过</span>{/if}
        </td>
    </tr>
    {/if}
</table>
</form>
<script type="text/javascript">
Do('base','layer','form',function(){
    $('#form').isForm();
})
</script>
